<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> 
<%@ page trimDirectiveWhitespaces="true" %>   
<%
	String path = request.getContextPath();
	int port = request.getLocalPort();
	//String basePath = request.getScheme() + "://" + request.getServerName() + ":" + port + path+"/";
	String basePath = request.getScheme() + "://" + request.getServerName() + path+"/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${seo.title }</title>
<base href="<%=basePath%>"/>
<meta name="keywords" content="${seo.keywords }" />
<meta name="description" content="${seo.description }" />
<style type="text/css">
<!--
@import url("css/stly.css");
-->
</style>
</head>

<body>
<tiles:insertAttribute name="header"/>
<div class="main_back">
<div class="cont_back">
    	<tiles:insertAttribute name="right"/> 
        <div class="cont_left">
			<tiles:useAttribute id="left" name="left" classname="java.util.List"/>      	
        	<c:forEach items="${left }" var="item">
				<tiles:insertAttribute value="${item }"/>
        	</c:forEach>
        </div>
    </div>
</div>
<tiles:insertAttribute name="footer"/>
</body>
<script type="text/javascript" src="js/menu.js"></script>
</html>
    